package com.ruoyi;

import io.seata.spring.annotation.datasource.EnableAutoDataSourceProxy;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient //nacos注册中心
@EnableAutoDataSourceProxy  //开启seata
//@EnableDubbo
public class ProviderOrderApplication_9002 {
    public static void main(String[] args) {
        System.setProperty("spring.cloud.bootstrap.enabled", "true");
        SpringApplication.run(ProviderOrderApplication_9002.class,args);
    }
}